home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / BSDOffscreenLib 1.0.2 / BSDOffscreen.doc next >
Encoding:
Text File  |  1997-08-03  |  1.5 KB  |  45 lines  |  [TEXT/CWIE]

  1. BSDOffscreenLib v1.0.2
  2. BuggySoft™ Development
  3. By Scott Dunbar.
  4. © 1997.
  5.  
  6. email:    buggysft@aimnet.com
  7. web:    http://www.aimnet.com/~buggysft/
  8. ftp:    ftp://ftp.aimnet.com/pub/users/buggysft/
  9.  
  10. BSDOffscreenLib is a CodeWarrior 11 library that I made for my own use in a game of ours
  11. called Torture Chamber. You can use this lib free of charge. 
  12.  
  13. It makes doing to following much easier:
  14.  
  15.     copying from a Window to another Window
  16.     copying from a Window to a GWorld
  17.     copying from a GWorld to a Window
  18.     copying from a GWorld to a GWorld
  19.     
  20. There are also some routines for creating GWorlds and manipulating them. There are 4 
  21. variations of the copying routines.
  22.  
  23. They are:
  24.     xxxx2xxxx();            // straight copy
  25.     xxxx2xxxxRect();        // copy using provided src & dest Rects
  26.     xxxx2xxxxRgn();            // copy using provided clipping rgn
  27.     xxxx2xxxxRectRgn();        // copy using both Rects and Rgn
  28.     xxxx2xxxxMask();        // copy using masks
  29.  
  30. Other routines are:
  31.     Screen2GWorld();        // copy the screen to a GWorld
  32.  
  33.     QuickGWorld();            // make a GWorld with only one paramter
  34.     CreateGWorldEmpty();    // make an exmpty GWorld with a given bit depth
  35.     CreateGWorldPict();        // make a GWorld with a picture
  36.     CreateGWorldPattern();    // make a GWorld with a Patter (untested)
  37.     CreateGWorld();            // make a GWorld (all paramters available)
  38.     OpenGWorld();            // opens a GWorld for editing
  39.     CloseGWorld();            // closes the GWorld opened with OpenGWorld()
  40.  
  41. Check out the header, "BSDOffscreen.h," for a complete list of them.
  42. Take a look at the example I've included for more detailed use of this library.
  43.  
  44. Thanks!
  45.     - Scott Dunbar